﻿/*********************************************
 创建者：  曹亚亮
 创建时间：2017-10-14
 功能说明：订货会设置相关实体类
 ********************************************/
using com.nm.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OrderAPI.Model
{
    public class OrderMasterModel
    {
        [Description("新增订货会信息实体类")]
        public class OrderMasterInsert {
            [ParamDescription("年份")]
            public int YearNo { get; set; }
            [ParamDescription("季节")]
            public string SeasonName { get; set; }
            [ParamDescription("波段")]
            public int BandCode { get; set; }
            [ParamDescription("开始日期")]
            public DateTime BeginDate { get; set; }
            [ParamDescription("结束日期")]
            public DateTime EndDate { get; set; }
            [ParamDescription("是否终止")]
            public bool OrderFlag { get; set; }

            [ParamDescription("参数列表")]
            public IList<OrderGradeDetail> list { get; set; }
        }

        [Description("修改订货会信息实体类")]
        public class OrderMasterUpdate
        {
            [ParamDescription("订货会内码ID")]
            public int MasterID { get; set; }
            [ParamDescription("开始日期")]
            public DateTime BeginDate { get; set; }
            [ParamDescription("结束日期")]
            public DateTime EndDate { get; set; }
            [ParamDescription("是否终止")]
            public bool OrderFlag { get; set; }

            [ParamDescription("参数列表")]
            public IList<OrderGradeDetail> list { get; set; }
        }

        [Description("评分项实体类")]
        public class OrderGradeDetail
        {
            [ParamDescription("评分项")]
            public string GradeName { get; set; }
            [ParamDescription("占比(%)")]
            public decimal GradeRate { get; set; }
        }


        [Description("响应订货会信息实体类")]
        public class OrderMaster
        {
            [ParamDescription("订货会内码")]
            public int MasterID { get; set; }
            [ParamDescription("订货会代码")]
            public string OrderName { get; set; }
            [ParamDescription("订货会状态")]
            public string OrderState { get; set; }
            //[ParamDescription("创建时间")]
            //public DateTime CreateDate { get; set; }
        }

        [Description("响应订货需求实体类")]
        public class OrderSKCRequire
        {
            [ParamDescription("订货需求内码ID")]
            public int RequireID { get; set; }
            [ParamDescription("系列")]
            public string SerialName { get; set; }
            [ParamDescription("商品层")]
            public string MaterialProperty { get; set; }
            [ParamDescription("项目")]
            public string ItemName { get; set; }
            [ParamDescription("需求SKC数")]
            public int SKCQty { get; set; }
        }

        [Description("响应款号设置实体类")]
        public class OrderStyleDetail
        {
            [ParamDescription("款号设置内码ID")]
            public int DetailID { get; set; }
            [ParamDescription("流水号")]
            public string SerialNo { get; set; }
            [ParamDescription("设计号")]
            public string DesignNo { get; set; }
            [ParamDescription("颜色代码")]
            public string ColorCode { get; set; }
            [ParamDescription("货品简称")]
            public string ShortName { get; set; }
            [ParamDescription("订单性质")]
            public string OrderType { get; set; }
            [ParamDescription("年份")]
            public int YearNo { get; set; }
            [ParamDescription("季节")]
            public string SeasonName { get; set; }
            [ParamDescription("类别")]
            public string Category { get; set; }
            [ParamDescription("系列")]
            public string SerialName { get; set; }
            [ParamDescription("商品层")]
            public string MaterialProperty { get; set; }
            [ParamDescription("款型")]
            public string ModelName { get; set; }
            [ParamDescription("项目")]
            public string ItemName { get; set; }
            [ParamDescription("领型")]
            public string CollarTypeName { get; set; }
            [ParamDescription("版型")]
            public string ClothesVersionName { get; set; }
            [ParamDescription("订单属性")]
            public string OrderAttribName { get; set; }
            [ParamDescription("供应商代码")]
            public string VendCustCode { get; set; }
            [ParamDescription("供应商名称")]
            public string VendCustName { get; set; }
            [ParamDescription("设计师")]
            public string DesignName { get; set; }
            [ParamDescription("元素")]
            public string ElementName { get; set; }
            [ParamDescription("廓型")]
            public string CommodityProfileName { get; set; }
            [ParamDescription("厚薄")]
            public string ThicknessName { get; set; }
            [ParamDescription("模特款")]
            public string IsModelStyle { get; set; }
            [ParamDescription("腰头类型")]
            public string Waistband { get; set; }
            [ParamDescription("成本价")]
            public decimal? CostPrice { get; set; }
            [ParamDescription("订倍率")]
            public decimal? OrderRate { get; set; }
            [ParamDescription("吊牌价")]
            public decimal? RetailPrice { get; set; }
            [ParamDescription("面料类型")]
            public string StuffType { get; set; }
            [ParamDescription("面料")]
            public string StuffName { get; set; }
            [ParamDescription("里料")]
            public string Lining { get; set; }
            [ParamDescription("填充料")]
            public string Filling { get; set; }
            [ParamDescription("上市日期")]
            public DateTime? SaleDate { get; set; }
            [ParamDescription("备注")]
            public string Remark { get; set; }
        }

    }
}
